import api from '../../utils/api';

export async function queryList(param) {
  return api.post('/resourceGroup/queryList', {
    data: JSON.stringify(param),
  });
}

export async function create(param) {
  return api.post('/resourceGroup/create', {
    data: JSON.stringify(param),
  });
}

export async function remove(param) {
  return api.post('/resourceGroup/remove', {
    data: JSON.stringify(param),
  });
}

export async function edit(param) {
  return api.post('/resourceGroup/edit', {
    data: JSON.stringify(param),
  });
}

export async function qryById(param) {
  return api.post('/resourceGroup/qryById', {
    data: JSON.stringify(param),
  });
}
export async function queryAllList(param) {
  return api.post('/resourceGroup/queryAllList', {
    data: JSON.stringify(param),
  });
}


